package com.gsafety.wellsfort.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gsafety.wellsfort.domain.model.organization.Student;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@Builder
@ApiModel(value = "学生列表")
public class StudentResultVO {
    @ApiModelProperty(value = "学生id")
    private Integer id;
    @ApiModelProperty(value = "学生姓名")
    private String name;
    @ApiModelProperty(value = "学生学校Id")
    private Integer schoolId;
    @ApiModelProperty(value = "学生学校")
    private String schoolName;
    @ApiModelProperty(value = "学生班级id")
    private Integer classId;
    @ApiModelProperty(value = "学生班级")
    private String className;
    @ApiModelProperty(value = "家长信息")
    private String parentMsg;
    @ApiModelProperty(value = "关联账号")
    private List<String> relateAccount;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date created;
    @ApiModelProperty(value = "家长姓名")
    private String parentName;
    @ApiModelProperty(value = "家长联系方式")
    private String parentPhone;
    @ApiModelProperty(value = "状态:1表示有效，0表示无效")
    private Integer status;
    @ApiModelProperty(value = "创建人")
    private String creator;
}
